import React, {FC, useEffect, useState} from 'react';
import styles from './Step03.less'

interface Step03Props {
    /**
     * 所填写的所有分步表单数据
     */
    stepFormDatas: object;
}

const Step03: FC<Step03Props> = (props) => {
    const {children, stepFormDatas} = props;

    useEffect(() => {
        console.log('Step03 组件挂载完毕!');
    }, []);

    console.log('Step03 组件render!');
    return (
        <div>
            <div>Step03 组件</div>
            <div dangerouslySetInnerHTML={{__html: JSON.stringify(stepFormDatas)}}></div>
        </div>
    );
};

export default Step03;
